﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BibleLib
{
    [Serializable]
    public class Chapter
    {
        public int UniqueId { get; set; }

        public int Id { get; set; }

        public List<Verse> Verses { get; set; }


        private static int uniqueChapterId = 1;
        public static Chapter Create(
            int id,
            List<Verse> verses)
        {
            return new Chapter
            {
                UniqueId = uniqueChapterId++,
                Id = id,
                Verses = verses
            };
        }
    }
}
